# $Id: PKGBUILD 88236 2013-04-14 19:50:39Z aginiewicz $
# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>

pkgname=python2-envisage
pkgver=4.3.0
pkgrel=1
pkgdesc="Extensible Application Framework"
arch=('any')
url="https://github.com/enthought/envisage"
license=('BSD')
depends=('python2-apptools')
makedepends=('python2-distribute')
options=(!emptydirs)

source=("$pkgname-$pkgver.tar.gz::https://github.com/enthought/envisage/archive/${pkgver}.tar.gz")
md5sums=('80439d265c92e2c14a680a58d7cb8f16')

build() {
  cd "$srcdir"/envisage-$pkgver

  python2 setup.py build
}

package() {
  cd "$srcdir"/envisage-$pkgver

  python2 setup.py install --root="$pkgdir"/ --optimize=1

  install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

